package com.xhsj.user.pms.workflow.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 流程运行实例表
 * </p>
 *
 * @author suxiaolin
 * @since 2020-05-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tb_pam_workflow_exec")
public class WorkflowExec extends Model<WorkflowExec> {
    /**
     * 流程执行ID主键
     */
    @TableId("flow_exec_id")
    private String flowExecId;

    /**
     * 流程所属交底书表主键ID
     */
    @TableField("flow_for_disclosure")
    private String flowForDisclosure;

    /**
     * 流程执行到的节点ID,即tb_pam_workflow_node表主键
     */
    @TableField("flow_exec_node")
    private String flowExecNode;

    /**
     * 流程更新时间
     */
    @TableField("flow_update_time")
    private Date flowUpdateTime;

    /**
     * 流程ID
     */
    @TableField("flow_parent_id")
    private String flowParentId;

    private static final long serialVersionUID = 1L;

}